package strengthen.spatial;

import strengthen.spatial.impl.AverageFilterMask;
import strengthen.spatial.impl.MedianFilterMask;
import core.Filter;

public final class FilterFactory {

	private FilterFactory() {
	}

	public static Filter getAverageFilter(int size) {
		return new SpatialFilter(new AverageFilterMask(size));
	}

	public static Filter getMedianFilter(int size) {
		return new SpatialFilter(new MedianFilterMask(size));
	}

}
